package com.sat.wisdom.Domain;

import java.util.ArrayList;

/**
 * 菜单分类信息，左侧slidemenu+contentfragment上部的标签
 * Project:wisdom_xx
 * Package:com.sat.wisdom.Domain
 * Created by 透野君爱打奶炮 on 2018-05-30 at 22:53
 */
public class NewsCategory {
    public int retcode;
    public ArrayList<Data> data;
    public ArrayList<Integer> extend;

    @Override
    public String toString() {
        return "NewsCategory{" +
                "retcode=" + retcode +
                ", data=" + data +
                ", extend=" + extend +
                '}';
    }


    public class Data {
        public int id;
        public String title;
        public int type;
        public ArrayList<Children> children;

        @Override
        public String toString() {
            return "Data{" +
                    "id=" + id +
                    ", title='" + title + '\'' +
                    ", type=" + type +
                    ", children=" + children +
                    '}';
        }
    }

    class Children {
        public int id;
        public String title;
        public int type;
        public String url;

        @Override
        public String toString() {
            return "Children{" +
                    "id=" + id +
                    ", title='" + title + '\'' +
                    ", type=" + type +
                    ", url='" + url + '\'' +
                    '}';
        }
    }
}
